﻿using FreeSql.DataAnnotations;
using IMES.Common.Dtos;
using Org.BouncyCastle.Tls;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;


namespace IMES.Common.Domain.DariusModel
{

    public class Roles:Audit
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        [Column(IsIdentity = true, IsPrimary = true)]
        public int RoleId { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int StartUp { get; set; }
        /// <summary>
        /// 父级ID
        /// </summary>
        public int Pid { get; set; }
    }
}
